#pragma once
#include <xact3.h>

class Sound
{
private:
	Sound();

	IXACT3Engine*		m_pEngine;			// the main engine
	IXACT3WaveBank*		m_pEffectBank;		// the in-memory wave bank
	IXACT3WaveBank*		m_pStreamingBank;	// wave bank of all waves to be streamed
	IXACT3SoundBank*	m_pSoundBank;		// the sound bank


public:
	inline static Sound* Engine()
	{	static Sound s; return &s;	}

	bool Init();
	void Update();
	void Cleanup();
};